package by.parfen.messages.services.ver2;

public class MessageProtocol {
	public String handleProtocolMessage(String messageText) {
		String responseText;
		if (messageText.startsWith("MyProtocolMessage")) {
			responseText = "I recognize your protocol message: " + messageText;
		} else {
			responseText = "Unknown protocol message: " + messageText;
		}

		return responseText;
	}
}